<?php
namespace Test\Controller;
use Common\Model\AnalysisModel;
use Common\Model\CouponModel;
use Common\Model\EditorModel;
use Common\Model\LogModel;
use Common\Model\PointLotteryModel;
use Common\Model\PointMallModel;
use Common\Model\BusinessModel;
use Common\Model\PornModel;
use Common\Model\ShopModel;
use Common\Model\SignLuckyModel;
use Common\Model\SmsModel;
use Common\Model\UserModel;
use Common\Model\UtilsModel;
use Common\Model\WeixinModel;
use Common\Model\WeixinRedPackModel;
use Common\Model\WeixinStoreModel;
use Common\Model\WeixinTicketModel;
use Think\Controller;
class IndexController extends Controller {
    private function getMethods($classname,$access=null){
        $class = new \ReflectionClass($classname);
        $methods = $class->getMethods();
        $returnArr = array();
        foreach($methods as $value){
            if($value->class == $classname){
                if($access != null){
                    $methodAccess = new \ReflectionMethod($classname,$value->name);
                    switch($access){
                        case 'public':
                            if($methodAccess->isPublic())$returnArr[$value->name] = 'public';
                            break;
                        case 'protected':
                            if($methodAccess->isProtected())$returnArr[$value->name] = 'protected';
                            break;
                        case 'private':
                            if($methodAccess->isPrivate())$returnArr[$value->name] = 'private';
                            break;
                        case 'final':
                            if($methodAccess->isFinal())$returnArr[$value->name] = 'final';
                            break;
                    }
                }else{
                    array_push($returnArr,$value->name);
                }

            }
        }
        return $returnArr;
    }
    public function index(){
        pre_dump(C(DB_MAIN_CFG));
        $method=$this->getMethods(get_class($this),'public');
        ksort($method);
        $last='';
        foreach($method as $k=>$v){
            $now=substr($k,0,2);
            if($now<>$last){
                echo '<hr />';
                $last=$now;
            }
            echo "<a href='",U($k),"' >{$k}</a><br />";
        }


        $CardExt=array(
            //'card_id'	=> $wxCardID,
            'code'		=> 'code',
            'openid'	=> 'openid',
            'timestamp'	=> 'time',
            'signature'	=> 'signature',

            'outer_id'	=> 0,
            //'api_ticket'=>$card_ticket,

        );


    }


    ///////////////////////////////////////////////////////////////////
    ///////////////////////////////////////////////////////////////////
    ///////////////////////////////////////////////////////////////////
    //行政区划导出
    public function regionExport(){
        $region= M('cfg_region',null,DB_MAIN_CFG)->where(1)->select();
        foreach($region as $reg){
            echo "array({$reg['ID']},{$reg['ParentId']},'{$reg['Name']}',{$reg['LevelType']}),";
        }
    }

    //行政区划导出
    public function ExportNb(){
        $region= M('cfg_region',null,DB_MAIN_CFG)->where('p_id=330200 and level=3')->getField('area_id,name',true);
        $street= M('cfg_region',null,DB_MAIN_CFG)->where('area_id like \'3302%\' and level=4')->getField('area_id,p_id,short_name',true);
        echo 'var nbData = [';
        foreach($region as $id=>$name){
            echo "{
            	value: '{$id}',
	            text: '{$name}',
	            children: [";
            foreach ($street as $sid=>$item){
                if($item['p_id'] != $id) continue;
                echo "{
                    value: '{$sid}',
			        text: '{$item['short_name']}'
		        },";
            }
            echo "]
                },";
        }
        echo '];';
    }


    public function testObject(){
        $a=new \stdClass();
        $a->adminId=9;
        pre_dump($a);
    }

    private function getItem($data){
        return array(
            'text'=>$data['Name'],
            'value'=>$data['ID']
        );
    }

    public function checkPorn(){
        PornModel::checkPic('http://wzma.176wp.cn/pic/2018-04-03/144859_963.png');
        PornModel::checkPic('http://wzma.176wp.cn/pic/500x622/2018-04-02/113416_636.png');
    }

    public function exportRegion(){
        $provs  = array();
        $city   = array();
        $dist   = array();

        $region= M('cfg_region',null,DB_MAIN_CFG)->where("levelType=1")->select();

        foreach($region as $reg){
            $provs[]= $this->getItem($reg);
            $sub2=M('cfg_region',null,DB_MAIN_CFG)->where("levelType=2 and ParentId={$reg['ID']}")->select();

            $t2=array();

            foreach($sub2 as $i2){
                $t2[]=$this->getItem($i2);
                $sub3=M('cfg_region',null,DB_MAIN_CFG)->where("levelType=3 and ParentId={$i2['ID']}")->select();

                $t3=array();
                foreach($sub3 as $i3){
                    $t3[]=$this->getItem($i3);
                }
                $dist[$i2['ID']]=$t3;
            }
            $city[$reg['ID']]=$t2;
        }
        echo json_encode($provs);
        echo '<hr />';
        echo '<hr />';
        echo json_encode($city);
        echo '<hr />';
        echo '<hr />';
        echo json_encode($dist);



    }

    //行政区划从库导入文件
    public function regionUpdateFromSQL(){
        $name = I('post.name',null);
        $id = I('post.id',0,'int');
        if(!$name || !$id){
            $this->error("无效参数name=".$name."&&id=".$id);
        }
        $areaArr = array();
        $areaM = M('area_info',null,DB_MAIN_CFG);
        $areaArr[$id] = $areaM->where("area_id = {$id} and level=1")->find();
        $city = $areaM->where("p_id={$id} and level=2")->select();
        if($city){
            $cid = array();
            foreach ($city as $val){
                $cid[] = $val['area_id'];
                $areaArr[$val['area_id']] = $val;
            }
            $cidStr = implode(',',$cid);
            $district = $areaM->where("p_id IN ({$cidStr}) and level = 3")->select();
            if($district){
                $did = array();
                foreach ($district as $val){
                    $did[] = $val['area_id'];
                    $areaArr[$val['area_id']] = $val;
                }
                $didStr = implode(',',$did);
                $street = $areaM->where("p_id IN ({$didStr}) and level = 4")->select();
                if($street){
                    foreach ($street as $val){
                        $areaArr[$val['area_id']] = $val;
                    }
                }
            }
        }

        $path = WEB_ROOT.'/data/area_info/'.$id.'.php';
        $content = '<?php return '.var_export($areaArr,true).';';
        if(fopen($path,'w')){
            file_put_contents($path,$content);
            $this->success("写入成功");
        } else{
            $this->success("写入失败");
        }
    }

    //获取省市区街道数据，返回JSON格式
    public function getAreaInfo(){
        $region = M('area_info',null,DB_MAIN_CFG)->field("area_id,p_id,short_name,level")->order("sort ASC")->select();
        $province = array();$city = array();$district = array();

        foreach ($region as $key => $val){
            if($val['level'] == 1){
                $province[] = array(
                    'text' => $val['short_name'],
                    'value'    => $val['area_id'],
                );
            } elseif ($val['level'] == 2){
                $city[$val['p_id']][] = array(
                    'text' => $val['short_name'],
                    'value'    => $val['area_id'],
                );
            } elseif ($val['level'] == 3){
                $district[$val['p_id']][] = array(
                    'text' => $val['short_name'],
                    'value'    => $val['area_id'],
                );
            } elseif ($val['level'] == 4){
                $street[$val['p_id']][] = array(
                    'text' => $val['short_name'],
                    'value'    => $val['area_id'],
                );
            }
        }

        $prov_data = json_encode($province);
        $city_data = json_encode($city);
        $dist_data = json_encode($district);
        $street_data = json_encode($street);

        $path = WEB_ROOT.'/Public/Wap/js/LAreaData.js';
        $content = 'var prov_data = '.var_export($prov_data,true).';'.
            'var city_data = '.var_export($city_data,true).';'.
            'var dist_data = '.var_export($dist_data,true).';'.
            'var street_data = '.var_export($street_data,true).';';
        if(fopen($path,'w')){
            file_put_contents($path,$content);
            var_dump("写入成功");
        } else{
            var_dump("写入失败");
        }
    }
    ///////////////////////////////////////////////////////////////////
    ///////////////////////////////////////////////////////////////////
    ///////////////////////////////////////////////////////////////////




    public function editor_filter()
    {
        $content = <<<EOF
<p style="font-family: arial, 微软雅黑; font-size: 14.4444px; padding: 0px; margin-top: 0px; margin-bottom: 0px; color: rgb(102, 102, 102); word-break: break-all; white-space: normal; line-height: 28px;"><span style="color: rgb(89, 89, 89); font-size: 14px; white-space: pre-wrap; font-family: sans-serif;">你们说，想要一场说走就走的旅行</span></p><section style="margin: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: " helvetica="" hiragino="" sans="" microsoft="" font-size:="" line-height:="" white-space:="" text-align:="" background-color:=""><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 14px; font-family: 微软雅黑, " microsoft="">小看找最美的路线，想要带着你私奔</span></section><section style="margin: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: " helvetica="" hiragino="" sans="" microsoft="" font-size:="" line-height:="" white-space:="" text-align:="" background-color:=""><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 14px; font-family: 微软雅黑, " microsoft="">你们说，想要吃遍甬城所有的美食</span></section><section style="margin: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: " helvetica="" hiragino="" sans="" microsoft="" font-size:="" line-height:="" white-space:="" text-align:="" background-color:=""><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 14px; font-family: 微软雅黑, " microsoft="">小看定好餐厅，让你成为最幸福的美食家</span></section><section style="margin: 0px; padding: 0px; color: rgb(51, 51, 51); font-family: " helvetica="" hiragino="" sans="" microsoft="" font-size:="" line-height:="" white-space:="" text-align:="" background-color:=""><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 14px; font-family: 微软雅黑, " microsoft="">现在小看又任性了！</span></section><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; white-space: pre-wrap; color: rgb(51, 51, 51); font-family: " helvetica="" hiragino="" sans="" microsoft="" font-size:="" line-height:="" text-align:="" background-color:=""><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 14px; font-family: 微软雅黑, " microsoft="">在宁波最豪华影院，包下整个影厅</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; white-space: pre-wrap; font-size: 14px; color: rgb(62, 62, 62); font-family: 微软雅黑; line-height: 25.6px; text-align: left; background-color: rgb(255, 255, 255);"><strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; color: rgb(255, 169, 0);">想要请你看电影！</span></strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; white-space: pre-wrap; font-size: 14px; color: rgb(62, 62, 62); font-family: 微软雅黑; line-height: 25.6px; text-align: left; background-color: rgb(255, 255, 255);"><img src="http://223.corp.soe-soe.com/server/upload/2016-07-13/142315_878.jpeg"/><br/></p><p><strong><strong>福利内容</strong></strong><strong>：《摇滚藏獒》电影票2张</strong><br/></p><p><strong>额外福利：</strong><strong>现场小朋友跟波弟合影将获得小礼品“<strong>无纺布袋+沙画+DIY风车”</strong>一份</strong></p><p><strong>领取方式：</strong><span style="font-family: " microsoft="" font-size:="" padding:="" margin:="" color:=""></span><strong><span style="color: rgb(89, 89, 89); font-family: " microsoft="" font-size:="" line-height:="" text-align:="" white-space:="" background-color:="">请在电影开场前1小时（上午9:30）</span></strong><strong><span style="color: rgb(89, 89, 89); font-family: " microsoft="" font-size:="" line-height:="" text-align:="" white-space:="" background-color:="">，凭姓名及联系方式到售票处旁边的小看处领取</span></strong><span style="font-family: " microsoft="" font-size:="" padding:="" margin:="" color:=""></span></p><p style="font-family: arial, 微软雅黑; font-size: 14.4444px; padding: 0px; margin-top: 0px; margin-bottom: 0px; color: rgb(34, 34, 34); word-break: break-all; white-space: normal; line-height: 28px;"><strong style="font-family: " microsoft="" font-size:="" padding:="" margin:="" color:=""><span style="font-size: 12px; padding: 0px; margin: 0px; color: rgb(89, 89, 89);"><img src="http://223.corp.soe-soe.com/server/upload/2016-07-13/142315_640.png"/></span></strong></p><p><strong>?名单公布时间：</strong>报名截止后一个工作日陆续通知，确定人选后公布。</p><p><strong>?名单查询：</strong>请先关注微信号“丸子妈妈”，再发送关键词“名单”即可~</p><p><strong>?参与要求：</strong>活动过程中请多多拍照，为了让更多小伙伴感受到现场，请在活动结束后3天内写下你的体验，不然就不能愉快玩耍啦~<img src="http://223.corp.soe-soe.com/server/upload/2016-07-13/142315_995.jpeg" style="color: rgb(89, 89, 89); font-size: 14px; white-space: pre-wrap;"/></p><p><strong><strong>?</strong>注意事项：<strong><strong><span style="padding: 0px; margin: 0px; color: rgb(89, 89, 89);"><strong style="font-family: " helvetica="" hiragino="" sans="" microsoft="" padding:="" margin:="" color:="" white-space:="" line-height:="" text-align:="" max-width:="" box-sizing:="" border-box="" word-wrap:="" break-word=""><span style="font-family: " microsoft="" padding:="" margin:="" color:="" max-width:="" box-sizing:="" border-box="" word-wrap:="" break-word="">不能去的同学请不要报名，<span style="padding: 0px; margin: 0px; color: rgb(255, 0, 0); max-width: 100%;">放鸽子将被关进小黑屋哦~</span></span></strong></span></strong></strong></strong></p><p style="font-family: arial, 微软雅黑; font-size: 14.4444px; padding: 0px; margin-top: 0px; margin-bottom: 0px; color: rgb(102, 102, 102); word-break: break-all; white-space: normal; line-height: 28px;"><strong style="font-family: " microsoft="" font-size:="" padding:="" margin:="" color:=""><strong style="font-size: 14.4444px; padding: 0px; margin: 0px; color: rgb(247, 150, 70);"></strong></strong></p><hr style="font-family: " microsoft="" font-size:="" padding:="" margin:="" color:="" white-space:=""/><section class="article135" label="powered by 135editor.com" style="font-family: 微软雅黑; font-size: 12px; padding: 0px; margin: 0px; color: rgb(34, 34, 34); white-space: normal; -webkit-border-image: url("><section class="135editor" data-id="85988" data-color="#46CEC0" data-custom="#46CEC0" style="font-family: " microsoft="" padding:="" margin:="" position:="" box-sizing:="" border:="" 0px=""><section data-width="100%" style="padding: 0px; margin: 0px auto; border: none; display: inline-block; width:100%; box-sizing: border-box;"><section style="font-size: 18px; padding: 0px; margin: 0px; letter-spacing: -2px; display: inline-block; box-sizing: border-box;"><span style="font-family: 宋体; font-size: 12px; padding: 0px; margin: 0px; color: rgb(70, 206, 192); font-weight: bold;">&gt;</span><span style="font-family: 宋体; font-size: 12px; padding: 0px; margin: 0px; color: rgb(70, 206, 192); font-weight: 700; opacity: 0.7;">&gt;</span><span style="font-family: 宋体; font-size: 12px; padding: 0px; margin: 0px; color: rgb(70, 206, 192); font-weight: 700; opacity: 0.5;">&gt;</span><span style="font-family: 宋体; font-size: 12px; padding: 0px; margin: 0px; color: rgb(70, 206, 192); font-weight: 700; opacity: 0.3;">&gt;</span></section><section style="padding: 0px; margin: 0px 0px 0px 10px; color: rgb(70, 206, 192); display: inline-block; box-sizing: border-box;"><p class="135brush" data-brushtype="text" style="padding: 0px; margin-top: 0px; margin-bottom: 0px; color: inherit; word-break: break-all;">包场观影《摇滚藏獒》“音”为有你，勇敢追梦</p></section></section></section></section><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; white-space: pre-wrap; font-family: " helvetica="" hiragino="" sans="" microsoft="" line-height:="" text-align:=""><span style="margin: 0px; padding: 0px; font-size: 14px; color: rgb(89, 89, 89);">直到去年《大圣归来》</span><span style="color: rgb(89, 89, 89); font-size: 14px; line-height: 25.6px;">靠口碑并创造了10亿的票房</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; white-space: pre-wrap; font-family: " helvetica="" hiragino="" sans="" microsoft="" line-height:="" text-align:=""><span style="color: rgb(89, 89, 89); font-size: 14px; line-height: 25.6px;">今年也有一部凭借口碑逆袭的动画电影</span><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; white-space: pre-wrap; font-family: " helvetica="" hiragino="" sans="" microsoft="" line-height:="" text-align:=""><span style="margin: 0px; padding: 0px; font-size: 14px; color: rgb(89, 89, 89);">在其他动画电影中脱颖而出成为一匹黑马<img src="http://223.corp.soe-soe.com/server/upload/2016-07-13/142315_995.jpeg"/></span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; white-space: pre-wrap; font-family: " helvetica="" hiragino="" sans="" microsoft="" line-height:="" text-align:=""><span style="color: rgb(89, 89, 89); margin: 0px; padding: 0px; font-size: 14px;">它就是<span style="margin: 0px; padding: 0px; line-height: 25.6px;">《摇滚藏獒》</span></span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; white-space: pre-wrap; font-family: " helvetica="" hiragino="" sans="" microsoft="" line-height:="" text-align:=""><img src="http://223.corp.soe-soe.com/server/upload/2016-07-13/142315_995.jpeg"/></p><p>由摇滚歌手郑钧编剧<br/></p><p>好莱坞导演执导、梦工厂团队制作</p><p>历时6年的动画电影</p><p>喜欢华语摇滚乐的朋友，一定对郑钧的名字不会陌生，只要是他的粉丝，一定对《回到拉萨》《赤裸裸》等耳熟能详。西藏对郑钧来说，已经不再是简单的地名，而是能让他净化心灵的一处天堂，帮助他创造音乐奇迹的一片圣地。<br/></p><p>正因如此，2009年，郑钧创作出了以西藏为背景的漫画集《摇滚藏獒》，在谊兄弟的大力支持下，将部作品制作成了3D动画电影。</p><p>由郑钧本人亲自担任编剧，导演则是了参与编导《玩具总动员》的美国电影人艾什·布兰农，而人物形象由《冰川时代》的设计师亲手打造</p><p>从美术设计到故事、音乐、细节的打磨都保证了高完成度和艺术水准，有人说它是蠢萌版“狼来了”/&gt;</p><p><br/></p><p>配音人员阵容也是十分强大，包括德云社的郭德纲、郭麒麟、于谦、孙越、烧饼，就连冯小刚都被郑钧拉来献声。</p><p><br/></p><p>《摇滚藏獒》讲述了藏獒波弟（Bodi）生长于喜马拉雅山深处一个与世隔绝的世外桃源，本该按家族传统担当村庄卫士，却在邂逅摇滚乐后沉迷其中。影片以主人公在两个世界中惊险连连、笑料百出的奇特经历，阐明当现实与梦想、亲情与激情、族群与自我发生冲突之时，我们该何去何从。</p><p><br/></p><section><section><section><section></section><section>&gt;&gt;&gt;&gt;</section><section><p>商家简介</p></section><section><p><br/></p></section></section></section></section><p><span style="margin: 0px; padding: 0px; font-size: 14px; color: rgb(89, 89, 89);"><strong helvetica="" hiragino="" sans="" microsoft="" font-size:="" line-height:="" white-space:="" margin:="" padding:="" max-width:="" box-sizing:="" border-box="" word-wrap:="" break-word="" style="color: rgb(70, 206, 192); white-space: normal;"><span style="margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box; word-wrap: break-word !important;">CGV星聚汇影城文化广场店</span></strong></span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; white-space: pre-wrap; font-family: " helvetica="" hiragino="" sans="" microsoft="" line-height:=""><span style="margin: 0px; padding: 0px; font-size: 14px; color: rgb(89, 89, 89);">CGV国际影城（宁波文化广场店）是由亚洲拥有影院数量较多的连锁影院CJ CGV和宁波文化广场投资发展公司共同投资建造的。设6个可播放3D影片的现代化影厅和宁波首家4DX特效厅、一个IMAX影厅、一个4K双机厅，共1728个座位。拥有多个特效厅是影城的亮点。</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; white-space: pre-wrap; font-family: " helvetica="" hiragino="" sans="" microsoft="" line-height:=""><span style="margin: 0px; padding: 0px; font-size: 14px; color: rgb(89, 89, 89);"></span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; white-space: pre-wrap; font-family: " helvetica="" hiragino="" sans="" microsoft="" line-height:=""><img src="http://223.corp.soe-soe.com/server/upload/2016-07-13/142315_585.jpeg"/></p><p><strong>孩子王鄞州万达店</strong><br/></p><p>地址：宁波鄞州区万达广场金座二楼孩子王</p><p>电话：0574-88206296</p><p><br/></p><section><section><section><section>&gt;&gt;&gt;&gt;</section><section><p>交通导航</p></section></section></section><p>公交：29路;127路;352路;507路;507路夜间线;903路</p></section><hr/><p>&gt;&gt;&gt;&gt;<br/></p><section><section><section><section><p>作业范本</p></section></section></section><p>?发送作业时，请在文字中注明【丸子妈妈】，并勾选@小看</p><p>?完成优质作业的小伙伴，有提高后续活动中奖率的可能哦</p><p>?未完成作业或活动放鸽子的小伙伴，会被小看关进小黑屋哦（三个月内不能报名丸子妈妈活动）</p></section>
EOF;

        echo $content,'<hr /><hr /><hr /><hr /><hr /><hr />';
       $re= UtilsModel::NativeThumb($content);
        echo 'after:';
        pre_dump($re);

    }

    public function centerArticle(){
        $content=<<<CONTENT
<p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; white-space: pre-wrap; max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); font-family: &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial, sans-serif; line-height: 25.6px; box-sizing: border-box !important; word-wrap: break-word !important; background-color: rgb(255, 255, 255);"><star id="companyPaltform">--平<img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131304_676.gif" />台--</star></p><p style="margin-top: 0px; margin-bottom: 0px; font-size: medium; padding: 0px; clear: both; white-space: pre-wrap; font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial, sans-serif; line-height: 23.2727px;"><star id="author">--作者<img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131304_40.jpeg" /><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131305_51.jpeg" />签名--</star></p><p style="margin-top: 0px; margin-bottom: 0px; font-size: medium; padding: 0px; clear: both; white-space: pre-wrap; font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial, sans-serif; line-height: 23.2727px;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; font-size: medium; padding: 0px; clear: both; white-space: pre-wrap; font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial, sans-serif; line-height: 23.2727px; text-align: right;"><br/></p><section data-role="outer" label="Powered by 135editor.com" style="margin: 0px; padding: 0px; line-height: 25.6px; white-space: normal; font-family: 微软雅黑;"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 14px;">在气温下降之时，大自然也在提醒着人们欣赏秋天最迷人的风景——<strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; color: rgb(69, 206, 192);">银杏的最佳时节</span></strong>即将到来。不同于梧桐一叶知秋的敏感，不同于枫叶层林尽染的斑斓，黄灿灿的银杏是晚秋最别致的告别礼。</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131305_891.jpeg" /></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; text-align: center;"><strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; color: rgb(69, 206, 192);">宁波鄞州&nbsp;·&nbsp;茅镬村</span></strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; text-align: center;"><strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; font-size: 12px; color: rgb(89, 89, 89);">宁波市鄞州区章水镇茅镬村</span></strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131305_779.jpeg" /><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131305_614.jpeg" /></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; color: rgb(127, 127, 127); font-size: 12px;"><span style="margin: 0px; padding: 0px; line-height: 26px;">▲</span><span style="margin: 0px; padding: 0px; line-height: 26px;"></span></span><span style="margin: 0px; padding: 0px; color: rgb(127, 127, 127); font-size: 12px;">戴一聪 / 摄</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131305_376.jpeg" /></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 14px;">茅镬村原来四周茅草丛生，潭水清澈，山上有形似镬盖，由此而得茅镬村村名。这样一个不起眼的小村却有着“浙东第一古树村”的美誉。这里生长着90株400年以上的古树，那一片古树的根，拱出地面，盘根错节，似是诉说着历史沧桑，生命变迁。晚秋时节，一地树叶铺盖了养它千年的土地，古树与大地的私语充满整个村子。村里大都是老年人，几十年与古树一起日作夜息，赫然是一副古朴自然的田园风光，时光仿佛在此凝滞。</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; text-align: center;"><strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; color: rgb(69, 206, 192);">宁波奉化&nbsp;·&nbsp;溪口</span></strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; text-align: center;"><span style="margin: 0px; padding: 0px; font-size: 12px;"><strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89);">宁波市奉化市溪口镇</span></strong></span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131305_423.jpeg" /></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; font-size: 12px; color: rgb(127, 127, 127);"><span style="margin: 0px; padding: 0px; line-height: 26px;">▲</span>&nbsp; 驴友 / 摄</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131305_767.jpeg" /><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131305_286.jpeg" /></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 14px;">当年风光一时的蒋氏，让溪口一跃成为了“民国文化第一镇”。然而这个小镇所拥有的却绝不仅仅只是民国记忆。在溪口随处走着，秋天的古镇显得异常古朴。晴朗的日子里，一棵棵银杏树敞开胸怀，尽情地收纳阳光，吐露金黄。一根枝条，一片叶，甚至一线细细的叶脉，无不涌动着金黄的潮，黄色的扇叶像一只只蝴蝶随风飞舞，令人满目生辉，仿佛心底也涌动起股股暖流。尤其是丰镐房，抬头望去都是黄色的海洋。<br/></span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; text-align: center;"><strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; color: rgb(69, 206, 192);">宁波鄞州&nbsp;·&nbsp;天童寺</span></strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; text-align: center;"><strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 12px;">宁波市鄞州区太白山麓童山寺</span></strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131305_512.jpeg" /></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; font-size: 12px; color: rgb(127, 127, 127);"><span style="margin: 0px; padding: 0px; line-height: 26px;">▲</span>&nbsp;无感 / 摄</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131306_207.jpeg" /></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131306_928.jpeg" /></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; color: rgb(127, 127, 127); font-size: 12px;"><span style="margin: 0px; padding: 0px; line-height: 26px;">▲</span>&nbsp;涛Sir小鲜肉 / 摄</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 14px;">有银杏的地方，自然会有白果。天童的银杏大多都是果农种植，主要用于收白果，所以长得并不高大，矮矮的却别有一番令人惊艳的美色。爬到山顶往下看，一层一层，阳光下，叶片会闪闪发光。只要你有心，低头就能发现那一颗颗金灿灿的果实散落银杏叶中。傍边的三溪浦水库，因为水枯，有些地方露出水底，有些形成一个个小小的岛屿一样的，许多人在烧烤。赏银杏之余，可以去走走东南佛国天童寺。秋色、银杏、古寺，简直不能更配。<br/></span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; text-align: center;"><strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; color: rgb(69, 206, 192);">杭州&nbsp;·&nbsp;朝晖公园</span></strong><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 14px;"><br/></span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; text-align: center;"><strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 12px;">杭州市下城区上塘路朝晖公园南侧，华园弄</span></strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131306_108.jpeg" /></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; line-height: inherit; font-size: 12px; color: rgb(127, 127, 127);"><span style="margin: 0px; padding: 0px; line-height: 26px;">▲</span>&nbsp;老毛 / 摄</span><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131306_487.jpeg" /></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; font-size: 12px; color: rgb(127, 127, 127);"><span style="margin: 0px; padding: 0px; line-height: 26px;">▲</span>&nbsp;咸橙君&nbsp;/ 摄</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131306_871.jpeg" /></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; font-size: 12px; color: rgb(127, 127, 127);"><span style="margin: 0px; padding: 0px; line-height: 26px;">▲</span>&nbsp;zhengdongjian&nbsp;/ 摄</span><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 14px;"><br/></span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 14px;">现下，杭州朝晖公园的银杏林即将迎来一年中最美时节。这是一条很短的水畔散步小径，路面不宽，不过百米长，中间用条石铺砌，两边的银杏树枝叶相互交叠。缤纷的银杏叶落了踩，踩了又落，把这里妆点成了一条银杏小道，每到深秋，就有不少市民惦记着这里的秋色。平时，大伯大妈们会在这里下棋、看书，闲散的气息就是生活应有的味道。阳光、落叶、小径……今秋不去，这样浪漫的午后，你可又要等一年。</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; text-align: center;"><strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; color: rgb(69, 206, 192);">杭州富阳&nbsp;·&nbsp;杨家村</span></strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; text-align: center;"><strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 12px;">杭州市富阳区万市乡杨家村</span></strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131306_312.jpeg" /></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131306_731.jpeg" /><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; color: rgb(127, 127, 127); font-size: 12px;"><span style="margin: 0px; padding: 0px; line-height: 26px;">▲</span>&nbsp;清风掠影 / 摄</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131307_904.jpeg" /><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; font-size: 12px; color: rgb(127, 127, 127);"><span style="margin: 0px; padding: 0px; line-height: 26px;">▲</span>&nbsp;SU_水啊水 / 摄</span><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 14px;"><br/></span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 14px;">都说“没有在秋天去过银杏村的人，是不足以谈秋天的。”与村子周围铺满山野的数千株银杏相比，杨家村村口那几株银杏显得单薄淡漠。傍晚的霞光穿过半透明的叶片，与村落里的雾霭和炊烟交织出温暖怀旧的色泽。缤纷的落叶好似散落一地的暖阳，碎在村前村后，曼妙得像一瓣瓣迷人的童话。村在林中，林在村中，珍贵的百年银杏树，完全摆脱了“自古逢秋悲寂寥”的魔咒，绚丽的令人欣喜，神奇的令人惊叹。</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; text-align: center;"><strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; color: rgb(69, 206, 192);">杭州临安&nbsp;·&nbsp;指南村</span></strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; text-align: center;"><strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 12px;">杭州市临安市指南村</span></strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131307_943.jpeg" /></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131307_687.jpeg" /></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; color: rgb(127, 127, 127); font-size: 12px;"><span style="margin: 0px; padding: 0px; line-height: 26px;">▲</span>&nbsp;天山长老 / 摄</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131307_304.jpeg" /></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; color: rgb(127, 127, 127); font-size: 12px;"><span style="margin: 0px; padding: 0px; line-height: 26px;">▲</span>&nbsp;子墨 / 摄</span><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 14px;"><br/></span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 14px;">秋高气爽，临安指南村可能是这个时节最美的江南村落。村里弯曲的山路，低缓的山坡，村中一潭清池，池中鸭鹅共舞。村子就巧妙地依山叠层而建，村里大片的银杏树高大挺立，色彩丰富，红、黄、绿完美搭配，这里的秋天就是这样不经意间进入佳境。村庄左右两侧散布着470余亩层式梯田，蔚为壮观。金色的辉煌在不远处上演，而村庄始终田园诗意。院前屋后铺满的金叶静静迎送每一个季节的来去，不卑不亢，自然安静。</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; text-align: center;"><strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; color: rgb(69, 206, 192);">湖州长兴&nbsp;·&nbsp;小浦八都岕</span></strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; text-align: center;"><strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 12px;">湖州市长兴县小浦镇八都岕</span></strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131307_33.jpeg" /></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; color: rgb(127, 127, 127); font-size: 12px;"><span style="margin: 0px; padding: 0px; line-height: 26px;">▲</span>&nbsp;上海小医生 / 摄</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131307_958.jpeg" /></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; font-size: 12px; color: rgb(127, 127, 127);"><span style="margin: 0px; padding: 0px; line-height: 26px;">▲</span>&nbsp;最爱小田螺 / 摄</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131308_401.jpeg" /><br/><span style="margin: 0px; padding: 0px; color: rgb(127, 127, 127); font-size: 12px;"><span style="margin: 0px; padding: 0px; line-height: 26px;">▲</span>&nbsp;目目佳 / 摄</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 14px;">小浦八都岕，这里就有名声在外的古银杏长廊，这里最老的银杏似乎有着千年的高龄。从潘礼南村开始，中途经过方岩村、方一村、大岕口，到柏家村，大大小小的银杏数布满了道路两旁，沿途或疏或密，将本是绿褐色的山头和农舍衬托得色彩斑驳。各式各样的民居建筑掩映在银杏群中，环境清幽，鸡犬相闻，就像是走进了陶渊明的梦中。秋天风起时，银杏飞舞空中，落在白墙黛瓦的古民居屋顶，漂在清澈见底的溪涧水面，铺在土地上，仿佛撒了一地碎金。<br/></span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; text-align: center;"><strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; color: rgb(69, 206, 192);">绍兴诸暨&nbsp;·&nbsp;五洩风景区</span></strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; text-align: center;"><span style="margin: 0px; padding: 0px; font-size: 12px;"><strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89);">绍兴市诸暨市五泄镇五洩风景区</span></strong></span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131308_247.jpeg" /></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131308_706.jpeg" /></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; color: rgb(127, 127, 127); font-size: 12px;"><span style="margin: 0px; padding: 0px; line-height: 26px;">▲</span>&nbsp;紫晶洞 / 摄</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131308_649.jpeg" /><br/><span style="margin: 0px; padding: 0px; color: rgb(127, 127, 127); font-size: 12px;"><span style="margin: 0px; padding: 0px; line-height: 26px;">▲</span>&nbsp;梦有知 / 摄</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 14px;">其实诸暨银杏栽培历史悠久，早在汉末三国时已有种植，至今已有1800余年历史。秋到诸暨五泄，有一股浓墨重彩的黄萦绕游线始终。在浓烈的色彩面前，隐在林中的粉墙黛瓦相得益彰，尤其是寺庙的殿宇和亭台楼阁更显得精巧玲珑，构成了一幅美丽的画卷。最为震撼的黄，就在景区电瓶车停车场到寺院前的广场上，这是一条“黄金大道”，栽满了银杏。黄透了的银杏叶飘满了枝头、堆满了地面，铺就了一条松软的路，踩上去沙沙作响。</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; text-align: center;"><strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; color: rgb(69, 206, 192);">绍兴诸暨&nbsp;·&nbsp;灵山坞村</span></strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; text-align: center;"><strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 12px;">绍兴市诸暨市应店街镇灵山坞村</span></strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131308_562.jpeg" /></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131308_613.jpeg" /></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131308_242.jpeg" /></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; color: rgb(127, 127, 127); font-size: 12px;"><span style="margin: 0px; padding: 0px; line-height: 26px;">▲</span>&nbsp;紫晶洞 / 摄</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 14px;">在诸暨应店街灵山坞村，数千株古银杏迎即将来最美当季。带着点诗意，着点古朴，带着点韵味，层层叠叠的银杏叶在午后阳光的投射下，泛着晕暖的金光，衬着树后蔚蓝的天空，异常美丽。沿银杏山而上，踩着一地的金黄落叶，进入山林，恰似回溯到几百万年前：参天的古银杏树，比肩接踵，老枝苍虬，数株同根。这些不知是谁栽种的银杏树，几百上千年来，绿了又黄，黄了又绿，一代代灵山坞村村民安享着古银杏树的慷慨馈赠。<br/></span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; text-align: center;"><strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; color: rgb(69, 206, 192);">温州永嘉&nbsp;·&nbsp;银泉村</span></strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; text-align: center;"><strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 12px;">温州市永嘉县大若岩镇银泉村</span></strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131309_237.jpeg" /></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; color: rgb(127, 127, 127); font-size: 12px;"><span style="margin: 0px; padding: 0px; line-height: 26px;">▲</span>&nbsp; 北纬18° / 摄</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131309_653.jpeg" /><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; color: rgb(127, 127, 127); font-size: 12px;"><span style="margin: 0px; padding: 0px; line-height: 26px;">▲</span>&nbsp;新新影 / 摄</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131309_292.jpeg" /></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 14px;">观银杏，是秋季的一道风景盛宴。永嘉大若岩银泉村的银杏树是有人“看守”的。这是一棵400多年的银杏树，位于村子里的三官亭前，粗大的树干要三四个人才能围抱，在树下仰望，一眼都望不到树顶。当银杏美丽的扇形叶片变成柠檬黄色，在阳光的映照下，一片璀璨的金黄，不时有叶片如彩蝶般飘落，洒满地面，置身其中，是一种静谧和醉人的享受。是的，谁能拒绝阳光的味道呢？这样的安宁静好，即便是一个人也不会寂寞。</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><hr style="margin: 0px; padding: 0px; color: rgb(62, 62, 62); line-height: 23.2727px; box-sizing: border-box;"/><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; text-align: center;"><strong style="margin: 0px; padding: 0px; line-height: inherit;"><span style="margin: 0px; padding: 0px; color: rgb(69, 206, 192);">- 旅行摄影小课堂<span style="margin: 0px; padding: 0px; line-height: inherit;">&nbsp;-</span></span></strong><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; text-align: center;"><span style="margin: 0px; padding: 0px; font-size: 14px; line-height: inherit; color: rgb(89, 89, 89);"><strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; line-height: inherit; font-size: 12px;"><strong style="margin: 0px; padding: 0px; max-width: 100%; color: rgb(62, 62, 62); font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial, sans-serif; line-height: 1.6; white-space: pre-wrap; box-sizing: border-box !important; word-wrap: break-word !important; background-color: rgb(255, 255, 255);"><span style="font-size: 14px; line-height: inherit; margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;">①</span></strong></span></strong></span><span style="color: rgb(89, 89, 89); font-size: 14px; margin: 0px; padding: 0px; line-height: inherit;"><strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; line-height: inherit; font-size: 12px;"><strong style="margin: 0px; padding: 0px; max-width: 100%; color: rgb(62, 62, 62); font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial, sans-serif; line-height: 1.6; white-space: pre-wrap; box-sizing: border-box !important; word-wrap: break-word !important; background-color: rgb(255, 255, 255);"><span style="margin: 0px; padding: 0px; max-width: 100%; color: rgb(70, 206, 192); box-sizing: border-box !important; word-wrap: break-word !important;"></span></strong>银杏拍摄技巧</span></strong></span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; font-size: 14px; color: rgb(69, 206, 192);">1、测光技巧</span></strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 14px;">银杏色彩鲜亮，使用点测或中央重点比较合适，最好遵循白加黑减原则，加两档曝光，注意避开光线反差较大的情况。</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; font-size: 14px; color: rgb(69, 206, 192);">2、拍摄技巧</span></strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 14px;">小光圈＋慢门，慢速快门虚化动体，会拍到有些虚化、有些清晰的画面。</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; font-size: 14px; color: rgb(69, 206, 192);">3、构图技巧</span></strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 14px;">远景或大场景以色块安排为重，利用好大面积的黄色块再配合建筑、树木等表现大环境之美；中景比较适合体现线条和层次感。</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; font-size: 14px; color: rgb(69, 206, 192);">4、光线</span></strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 14px;">欲强调银杏颜色，使黄色的饱和度得到最佳展现，可用顺光；侧光较适合表现银杏的立体层次感；逆光较适合拍摄特写或中景等；如是在漫射光下拍摄，最好选择比较简洁的背景做反衬。</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; font-size: 14px; color: rgb(69, 206, 192);">5、感光度</span></strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 14px;">尽可能选择低感光度，为避免出现噪点，数码单反最好用不超过ISO400的感光度拍摄，越低越好。</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; font-size: 14px; color: rgb(69, 206, 192);">6、广角拍摄大场景</span></strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 14px;">银杏海洋可以使用广角镜头，把大场景摄入画面。在构图上要注意形式变化，让银杏疏密有致，避免单调。背景可以是大片的银杏树、特色建筑及人物虚化，但要注意色彩不要重叠，把前景主体和背景区分开来。</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; font-size: 14px; color: rgb(69, 206, 192);">7、长焦拍摄远景或特写</span></strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="margin: 0px; padding: 0px; color: rgb(89, 89, 89); font-size: 14px;">想把远处画面拉近拍摄或拍摄主体的特写并虚化背景时，使用长焦和大光圈便可达到目的。</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; text-align: center;"><span style="font-size: 12px; font-family: 微软雅黑, &#39;Microsoft YaHei&#39;; color: rgb(89, 89, 89);"><strong style="margin: 0px; padding: 0px; max-width: 100%; color: rgb(62, 62, 62); font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial, sans-serif; line-height: 1.6; white-space: pre-wrap; box-sizing: border-box !important; word-wrap: break-word !important; background-color: rgb(255, 255, 255);"><span style="font-family: 微软雅黑, &#39;Microsoft YaHei&#39;; font-size: 12px; margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><br/></span></strong></span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; text-align: center;"><span style="font-size: 12px; font-family: 微软雅黑, &#39;Microsoft YaHei&#39;; color: rgb(89, 89, 89);"><strong style="margin: 0px; padding: 0px; max-width: 100%; color: rgb(62, 62, 62); font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial, sans-serif; line-height: 1.6; white-space: pre-wrap; box-sizing: border-box !important; word-wrap: break-word !important; background-color: rgb(255, 255, 255);"><span style="font-family: 微软雅黑, &#39;Microsoft YaHei&#39;; font-size: 12px; margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;">②手机快速修图软件</span></strong></span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="font-size: 12px; font-family: 微软雅黑, &#39;Microsoft YaHei&#39;; color: rgb(89, 89, 89);"><strong style="margin: 0px; padding: 0px; max-width: 100%; color: rgb(62, 62, 62); font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial, sans-serif; line-height: 1.6; white-space: pre-wrap; box-sizing: border-box !important; word-wrap: break-word !important; background-color: rgb(255, 255, 255);"><span style="font-family: 微软雅黑, &#39;Microsoft YaHei&#39;; font-size: 12px; margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><br/></span></strong></span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both;"><span style="font-size: 12px; font-family: 微软雅黑, &#39;Microsoft YaHei&#39;; color: rgb(89, 89, 89);"><strong style="margin: 0px; padding: 0px; max-width: 100%; color: rgb(62, 62, 62); font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial, sans-serif; line-height: 1.6; white-space: pre-wrap; box-sizing: border-box !important; word-wrap: break-word !important; background-color: rgb(255, 255, 255);"><span style="font-family: 微软雅黑, &#39;Microsoft YaHei&#39;; font-size: 12px; margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"></span></strong></span></p><section data-role="outer" label="Powered by 135editor.com" style="font-family: 微软雅黑;"><p style="white-space: normal;"><strong><span style="font-size: 14px; color: #45CEC0;">1. VSCO Cam：让银杏更有意境</span></strong></p><p style="white-space: normal;"><span style="font-size: 14px; color: #595959;">VSCO Cam 拥有目前所有修图 app 中最精致、细腻，以及充满专业艺术风格的滤镜，在滤镜上没有修图 app 可以超越它的水准。对于拍摄银杏来说，套上 VSCO Cam 的滤镜，马上就呈现出仿佛画廊摄影作品的质感。</span></p><p style="white-space: normal;"><br/></p><p style="white-space: normal;"><strong><span style="font-size: 14px; color: #45CEC0;">2. Snapseed 2：可对照片进行大量细节后制</span></strong></p><p style="white-space: normal;"><span style="color: rgb(89, 89, 89); font-size: 14px; line-height: 25.6px;">Snapseed 拥有「最直观操作方式」的修图界面，在手指的滑动中就能非常细微的调整照片的细节变化，这样独创的操作方式仍然是目前修图 app 中独一无二的，并且无论是操作上的触感，以及可以敏锐地调整修图，都是最好的选择。</span><span style="font-size: 14px; color: #595959;"></span></p><p style="white-space: normal;"><strong><span style="font-size: 14px; color: #45CEC0;">3. Aviary：特制照片颜色、外框、文字</span></strong></p><p style="white-space: normal;"><span style="font-size: 14px; color: #595959;">Aviary 除了具备完整的修图工具外，还额外具备一些特殊的后制效果，例如用飞溅功能制作出黑白中带有色彩的冲击性照片视觉效果，或是在照片上加入你需要的文字，以及更多样化的照片外框设计，给自己拍的银杏叶加点特制的标签。</span></p><p style="white-space: normal;"><span style="font-size: 14px; color: #45CEC0;"><strong>4. Perfect Clear：一键完成修图</strong></span></p><p style="white-space: normal;"><span style="font-size: 14px; color: #595959;">或许有些朋友觉得自己手动调整太麻烦，那么这时候或许可以用上它。拍摄玩银杏后，在 Perfectly Clear 中按下一键修图，就会把照片里失败的亮度、颜色、光影做出自动调整，立刻就能产生修图完成的好照片。</span></p></section></section><p style="margin-top: 0px; margin-bottom: 0px; font-size: medium; padding: 0px; clear: both; white-space: pre-wrap; font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial, sans-serif; line-height: 23.2727px; text-align: right;"><span style="margin: 0px; padding: 0px; font-size: 12px; color: rgb(136, 136, 136);">PS：图文来源于网络，由小女污编辑整理</span></p><p style="white-space: normal;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131309_128.png" /><br/></p><p style="white-space: normal;"><br/></p><section style="font-size: medium; white-space: normal; margin: 0px; padding: 0px; font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial, sans-serif; line-height: 25.6px; max-width: 100%; box-sizing: border-box; color: rgb(62, 62, 62); word-wrap: break-word !important; background-color: rgb(255, 255, 255);"><section class="" style="margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box; word-wrap: break-word !important;"><p style="margin-top: 0px; margin-bottom: 0px; line-height: 25.6px; padding: 0px; clear: both; white-space: pre-wrap; max-width: 100%; min-height: 1em; text-align: center; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="font-size: 16px;"><strong style="margin: 0px; padding: 0px; line-height: 25.6px; max-width: 100%; font-size: 14px; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="margin: 0px; padding: 0px; max-width: 100%; color: rgb(70, 206, 192); box-sizing: border-box !important; word-wrap: break-word !important;">小女污作品</span></strong></span></p><p style="margin-top: 0px; margin-bottom: 0px; line-height: 25.6px; padding: 0px; clear: both; white-space: pre-wrap; max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; line-height: 25.6px; padding: 0px; clear: both; white-space: pre-wrap; max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><a href="http://new.kannb.com/index.php?m=Web&c=Article&a=detail&id=63337" target="_self" style="text-decoration: none;"><span style="font-family: 微软雅黑, &#39;Microsoft YaHei&#39;; font-size: 14px; color: rgb(89, 89, 89);">单车骑行，在路上遇见宁波最美的秋天</span></a></p><p style="margin-top: 0px; margin-bottom: 0px; line-height: 25.6px; padding: 0px; clear: both; white-space: pre-wrap; max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><a href="http://new.kannb.com/index.php?m=Web&c=Article&a=detail&id=63353" target="_self" style="text-decoration: none;"><span style="font-family: 微软雅黑, &#39;Microsoft YaHei&#39;; font-size: 14px; color: rgb(89, 89, 89);">宁波最美的23条古道攻略，从古道和落叶撞个满怀吧</span></a></p><p style="margin-top: 0px; margin-bottom: 0px; line-height: 25.6px; padding: 0px; clear: both; white-space: pre-wrap; max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><a href="http://new.kannb.com/index.php?m=Web&c=Article&a=detail&id=63136" target="_self" style="text-decoration: none;"><span style="margin: 0px; padding: 0px; max-width: 100%; color: rgb(89, 89, 89); font-size: 14px; box-sizing: border-box !important; word-wrap: break-word !important;">宁波周边最值得去的5个小众海岛，抓住夏末浪起来</span></a></p><p style="margin-top: 0px; margin-bottom: 0px; line-height: 25.6px; padding: 0px; clear: both; white-space: pre-wrap; max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="margin: 0px; padding: 0px; max-width: 100%; color: rgb(89, 89, 89); font-size: 14px; box-sizing: border-box !important; word-wrap: break-word !important;"><a href="http://new.kannb.com/index.php?m=Web&c=Article&a=detail&id=63107" target="_self">土匪、赶尸、蛊术，小女污带你探索神秘湘西</a></span></p><p style="margin-top: 0px; margin-bottom: 0px; line-height: 25.6px; padding: 0px; clear: both; white-space: pre-wrap; max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><a href="http://new.kannb.com/index.php?m=Web&c=Article&a=detail&id=63294" target="_self" style="font-family: 微软雅黑, &#39;Microsoft YaHei&#39;; font-size: 14px; color: rgb(89, 89, 89); text-decoration: none;">看枫叶，吃柿子，尝蟹脚，宁波赏秋景的八大去处</a></p><p style="margin-top: 0px; margin-bottom: 0px; line-height: 25.6px; padding: 0px; clear: both; white-space: pre-wrap; max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; line-height: 25.6px; padding: 0px; clear: both; white-space: pre-wrap; max-width: 100%; min-height: 1em; text-align: center; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="margin: 0px; padding: 0px; line-height: 25.6px; max-width: 100%; font-size: 14px; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="margin: 0px; padding: 0px; max-width: 100%; color: rgb(70, 206, 192); box-sizing: border-box !important; word-wrap: break-word !important;">其他旅行家作品</span></strong><br/></p><p style="margin-top: 0px; margin-bottom: 0px; line-height: 25.6px; padding: 0px; clear: both; white-space: pre-wrap; max-width: 100%; min-height: 1em; text-align: center; box-sizing: border-box !important; word-wrap: break-word !important;"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; font-family: &#39;microsoft yahei&#39;, arial; padding: 0px; word-break: break-all; line-height: 25.6px;"><span style="font-family: 微软雅黑, &#39;Microsoft YaHei&#39;; font-size: 14px; padding: 0px; margin: 0px; color: rgb(89, 89, 89);">1、Benita：</span><a href="http://new.kannb.com/index.php?m=Web&c=Article&a=detail&id=63189" target="_self" style="font-family: 微软雅黑, &#39;Microsoft YaHei&#39;; font-size: 14px; padding: 0px; margin: 0px; text-decoration: none; cursor: pointer; color: rgb(89, 89, 89);">荆楚地，江城子，二月行走在武汉</a></p><p style="margin-top: 0px; margin-bottom: 0px; font-family: &#39;microsoft yahei&#39;, arial; padding: 0px; word-break: break-all; line-height: 25.6px;"><a href="http://mp.weixin.qq.com/s?__biz=MjM5MTAwNzU0MA==&mid=2650031970&idx=3&sn=d54d4340fe54b6a07a84467da00ce5ee&scene=21#wechat_redirect" target="_blank" data_ue_src="http://mp.weixin.qq.com/s?__biz=MjM5MTAwNzU0MA==&amp;mid=2650031970&amp;idx=3&amp;sn=d54d4340fe54b6a07a84467da00ce5ee&amp;scene=21#wechat_redirect" style="font-family: 微软雅黑, &#39;Microsoft YaHei&#39;; font-size: 14px; padding: 0px; margin: 0px; text-decoration: none; cursor: pointer; color: rgb(89, 89, 89);">2、福</a><span style="font-family: 微软雅黑, &#39;Microsoft YaHei&#39;; font-size: 14px; padding: 0px; margin: 0px; color: rgb(89, 89, 89);">小喵：</span><a href="http://mp.weixin.qq.com/s?__biz=MjM5MTAwNzU0MA==&mid=2650034470&idx=2&sn=583649de12bedf49decfb3c54b2278f2&scene=21#wechat_redirect" target="_self" style="font-family: 微软雅黑, &#39;Microsoft YaHei&#39;; font-size: 14px; padding: 0px; margin: 0px; text-decoration: none; cursor: pointer; color: rgb(89, 89, 89);">福老师带你，巴山渝水话重庆</a></p><p style="margin-top: 0px; margin-bottom: 0px; font-family: &#39;microsoft yahei&#39;, arial; padding: 0px; word-break: break-all; line-height: 25.6px;"><span style="font-family: 微软雅黑, &#39;Microsoft YaHei&#39;; font-size: 14px; padding: 0px; margin: 0px; color: rgb(89, 89, 89);">3、</span><a href="http://new.kannb.com/index.php?m=Web&c=Article&a=detail&id=63081" target="_self" style="font-family: 微软雅黑, &#39;Microsoft YaHei&#39;; font-size: 14px; padding: 0px; margin: 0px; text-decoration: none; cursor: pointer; color: rgb(89, 89, 89);">BOBO：济州岛48小时，对TA说声“我爱你”还不算太迟</a></p><p style="margin-top: 0px; margin-bottom: 0px; font-family: &#39;microsoft yahei&#39;, arial; padding: 0px; word-break: break-all; line-height: 25.6px;"><span style="font-family: 微软雅黑, &#39;Microsoft YaHei&#39;; font-size: 14px; padding: 0px; margin: 0px; color: rgb(89, 89, 89);">4、未希：</span><a href="http://new.kannb.com/index.php?m=Web&c=Article&a=detail&id=63156" target="_self" style="font-family: 微软雅黑, &#39;Microsoft YaHei&#39;; font-size: 14px; padding: 0px; margin: 0px; text-decoration: none; cursor: pointer; color: rgb(89, 89, 89);">国庆6日自由行，跨越2300公里，只为一眼胡杨</a></p></section></section><p><br/></p><p style="white-space: normal;"><br/></p><p style="white-space: normal;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131309_432.png" /><br/></p><p style="margin-top: 0px; margin-bottom: 0px; font-size: medium; padding: 0px; clear: both; white-space: pre-wrap; font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial, sans-serif; max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); text-align: center; line-height: 1.75em; box-sizing: border-box !important; word-wrap: break-word !important; background-color: rgb(255, 255, 255);"><br/></p><p style="margin-top: 0px; margin-bottom: 0px; font-size: medium; padding: 0px; clear: both; white-space: pre-wrap; font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial, sans-serif; max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); line-height: 1.75em; box-sizing: border-box !important; word-wrap: break-word !important; background-color: rgb(255, 255, 255);"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131309_906.jpeg" /><br/></p><p style="white-space: normal;"><br/></p><section style="font-size: medium; white-space: normal; margin: 0px; padding: 0px; font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial, sans-serif; line-height: 25.6px; max-width: 100%; box-sizing: border-box; color: rgb(62, 62, 62); word-wrap: break-word !important; background-color: rgb(255, 255, 255);"><section class="" style="margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box; word-wrap: break-word !important;"><section class="" style="margin: 0px; padding: 10px; line-height: 25.6px; max-width: 100%; box-sizing: border-box; display: inline-block; width:100%; border: 2px dotted rgb(192, 200, 209); word-wrap: break-word !important;"><section class="" style="margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box; word-wrap: break-word !important;"><section class="" style="margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box; word-wrap: break-word !important;"><section class="" style="margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box; color: rgb(51, 51, 51); word-wrap: break-word !important;"><section style="margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box; word-wrap: break-word !important;"><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; white-space: pre-wrap; max-width: 100%; min-height: 1em; line-height: 28.4444px; text-align: center; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="margin: 0px; padding: 0px; max-width: 100%; font-size: 14px; color: rgb(89, 89, 89); box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="margin: 0px; padding: 0px; max-width: 100%; color: rgb(70, 206, 192); box-sizing: border-box !important; word-wrap: break-word !important;">报名方式：</span></strong><span style="margin: 0px; padding: 0px; max-width: 100%; color: rgb(70, 206, 192); box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="margin: 0px; padding: 0px; max-width: 100%; color: rgb(89, 89, 89); line-height: 1.6; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"></span></strong><strong style="margin: 0px; padding: 0px; max-width: 100%; color: rgb(89, 89, 89); line-height: 1.6; box-sizing: border-box !important; word-wrap: break-word !important;"></strong></span></span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; white-space: pre-wrap; max-width: 100%; min-height: 1em; line-height: 28.4444px; text-align: center; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="margin: 0px; padding: 0px; max-width: 100%; font-size: 14px; color: rgb(89, 89, 89); box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="margin: 0px; padding: 0px; max-width: 100%; color: rgb(70, 206, 192); box-sizing: border-box !important; word-wrap: break-word !important;"></span></strong></span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; white-space: pre-wrap; max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="margin: 0px; padding: 0px; max-width: 100%; font-size: 14px; color: rgb(89, 89, 89); box-sizing: border-box !important; word-wrap: break-word !important;"><span style="margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;">将您的个人介绍，附带自己的原创图文 or 摄影 or 插画等，一并投送至报名邮箱：<span style="margin: 0px; padding: 0px; max-width: 100%; font-family: sans-serif; line-height: 21px; box-sizing: border-box !important; word-wrap: break-word !important;"></span></span><span style="margin: 0px; padding: 0px; max-width: 100%; font-family: sans-serif; line-height: 21px; box-sizing: border-box !important; word-wrap: break-word !important;"></span></span><strong style="margin: 0px; padding: 0px; max-width: 100%; font-size: 14px; line-height: 22.4px; text-align: center; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="margin: 0px; padding: 0px; max-width: 100%; color: rgb(89, 89, 89); box-sizing: border-box !important; word-wrap: break-word !important;">daren@soe-soe.com</span></strong><span style="margin: 0px; padding: 0px; max-width: 100%; color: rgb(89, 89, 89); font-size: 14px; font-family: sans-serif; line-height: 21px; box-sizing: border-box !important; word-wrap: break-word !important;"><br/></span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; white-space: pre-wrap; max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="margin: 0px; padding: 0px; max-width: 100%; font-size: 14px; line-height: 22.4px; text-align: center; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="margin: 0px; padding: 0px; max-width: 100%; color: rgb(89, 89, 89); box-sizing: border-box !important; word-wrap: break-word !important;"><br/></span></strong></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; white-space: pre-wrap; max-width: 100%; min-height: 1em; line-height: 28.4444px; text-align: center; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="margin: 0px; padding: 0px; max-width: 100%; font-size: 14px; color: rgb(89, 89, 89); box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="margin: 0px; padding: 0px; max-width: 100%; color: rgb(70, 206, 192); box-sizing: border-box !important; word-wrap: break-word !important;">投稿要求：</span></strong><strong style="margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="margin: 0px; padding: 0px; max-width: 100%; color: rgb(70, 206, 192); box-sizing: border-box !important; word-wrap: break-word !important;"></span></strong></span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; white-space: pre-wrap; max-width: 100%; box-sizing: border-box; min-height: 1em; color: rgb(62, 62, 62); line-height: 1.75em; word-wrap: break-word !important; background-color: rgb(254, 255, 255);"><span style="margin: 0px; padding: 0px; max-width: 100%; font-size: 14px; color: rgb(89, 89, 89); box-sizing: border-box !important; word-wrap: break-word !important;">1、愿意将你的美貌与才华，分享给大家。</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; white-space: pre-wrap; max-width: 100%; box-sizing: border-box; min-height: 1em; color: rgb(62, 62, 62); line-height: 1.75em; word-wrap: break-word !important; background-color: rgb(254, 255, 255);"><span style="margin: 0px; padding: 0px; max-width: 100%; font-size: 14px; color: rgb(89, 89, 89); box-sizing: border-box !important; word-wrap: break-word !important;">2、会拍美美哒的旅行照片。</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; white-space: pre-wrap; max-width: 100%; box-sizing: border-box; min-height: 1em; color: rgb(62, 62, 62); line-height: 1.75em; word-wrap: break-word !important; background-color: rgb(254, 255, 255);"><span style="margin: 0px; padding: 0px; max-width: 100%; font-size: 14px; color: rgb(89, 89, 89); box-sizing: border-box !important; word-wrap: break-word !important;">3、热爱文字，热爱晒游记。</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; white-space: pre-wrap; max-width: 100%; box-sizing: border-box; min-height: 1em; color: rgb(62, 62, 62); line-height: 1.75em; word-wrap: break-word !important; background-color: rgb(254, 255, 255);"><span style="margin: 0px; padding: 0px; max-width: 100%; font-size: 14px; color: rgb(89, 89, 89); box-sizing: border-box !important; word-wrap: break-word !important;"><br/></span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; white-space: pre-wrap; max-width: 100%; min-height: 1em; line-height: 28.4444px; text-align: center; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="margin: 0px; padding: 0px; max-width: 100%; font-size: 14px; color: rgb(70, 206, 192); box-sizing: border-box !important; word-wrap: break-word !important;"><strong style="margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;">旅行达人优待：</strong></span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; white-space: pre-wrap; max-width: 100%; box-sizing: border-box; min-height: 1em; color: rgb(62, 62, 62); line-height: 1.75em; word-wrap: break-word !important; background-color: rgb(254, 255, 255);"><span style="margin: 0px; padding: 0px; max-width: 100%; line-height: 24.8889px; font-size: 14px; color: rgb(89, 89, 89); box-sizing: border-box !important; word-wrap: break-word !important;">1、成为丸子妈妈平台长期合作伙伴，将您打造成独一无二的时尚旅行家 </span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; white-space: pre-wrap; max-width: 100%; box-sizing: border-box; min-height: 1em; color: rgb(62, 62, 62); line-height: 1.75em; word-wrap: break-word !important; background-color: rgb(254, 255, 255);"><span style="margin: 0px; padding: 0px; max-width: 100%; line-height: 1.6; font-size: 14px; color: rgb(89, 89, 89); box-sizing: border-box !important; word-wrap: break-word !important;">2、精品酒店、高级餐厅、旅行活动免费体验</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; white-space: pre-wrap; max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); line-height: 1.75em; box-sizing: border-box !important; word-wrap: break-word !important; background-color: rgb(254, 255, 255);"><span style="margin: 0px; padding: 0px; max-width: 100%; font-size: 14px; color: rgb(89, 89, 89); box-sizing: border-box !important; word-wrap: break-word !important;">3、结识一群志同道合的小伙伴、媒体人、艺术家的店老板</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; white-space: pre-wrap; max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); line-height: 1.75em; box-sizing: border-box !important; word-wrap: break-word !important; background-color: rgb(254, 255, 255);"><span style="margin: 0px; padding: 0px; max-width: 100%; font-size: 14px; color: rgb(89, 89, 89); box-sizing: border-box !important; word-wrap: break-word !important;">4、成为宁波“最会玩”的人，积累城市吃住玩乐各种资源</span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; white-space: pre-wrap; max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); line-height: 1.75em; box-sizing: border-box !important; word-wrap: break-word !important; background-color: rgb(254, 255, 255);"><span style="margin: 0px; padding: 0px; max-width: 100%; font-size: 14px; color: rgb(89, 89, 89); box-sizing: border-box !important; word-wrap: break-word !important;"><br/></span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; white-space: pre-wrap; max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); line-height: 1.75em; text-align: center; box-sizing: border-box !important; word-wrap: break-word !important; background-color: rgb(254, 255, 255);"><star id="qrcode">--二</star></p><p style="margin-top: 0px; margin-bottom: 0px; font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial, sans-serif; font-size: medium; padding: 0px; clear: both; white-space: pre-wrap; max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); line-height: 1.75em; text-align: center; box-sizing: border-box !important; word-wrap: break-word !important; background-color: rgb(254, 255, 255);"><strong style="margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="margin: 0px; padding: 0px; max-width: 100%; font-size: 14px; color: rgb(69, 206, 192); box-sizing: border-box !important; word-wrap: break-word !important;">小女污 |&nbsp;丸子妈妈旅游编辑</span></strong></p><p style="margin-top: 0px; margin-bottom: 0px; font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial, sans-serif; font-size: medium; padding: 0px; clear: both; white-space: pre-wrap; max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); line-height: 1.75em; text-align: center; box-sizing: border-box !important; word-wrap: break-word !important; background-color: rgb(254, 255, 255);"><span style="margin: 0px; padding: 0px; max-width: 100%; color: rgb(89, 89, 89); font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131309_503.jpeg" /><br/><span style="margin: 0px; padding: 0px; max-width: 100%; line-height: 1.75em; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="margin: 0px; padding: 0px; max-width: 100%; box-sizing: border-box !important; word-wrap: break-word !important;">如有疑问或想加入丸子妈妈旅行交流群</span></span></span></p><p style="margin-top: 0px; margin-bottom: 0px; font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial, sans-serif; font-size: medium; padding: 0px; clear: both; white-space: pre-wrap; max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); line-height: 1.75em; text-align: center; box-sizing: border-box !important; word-wrap: break-word !important; background-color: rgb(254, 255, 255);"><span style="margin: 0px; padding: 0px; max-width: 100%; color: rgb(89, 89, 89); font-size: 12px; box-sizing: border-box !important; word-wrap: break-word !important;"><span style="margin: 0px; padding: 0px; max-width: 100%; line-height: 1.75em; box-sizing: border-box !important; word-wrap: break-word !important;">请扫一扫添加小女污微信</span></span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; white-space: pre-wrap; max-width: 100%; min-height: 1em; color: rgb(62, 62, 62); line-height: 1.75em; text-align: center; box-sizing: border-box !important; word-wrap: break-word !important; background-color: rgb(254, 255, 255);"><star id="qrcode">维码--</star><br/></p></section></section></section></section></section><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; clear: both; white-space: pre-wrap; line-height: 25.6px; max-width: 100%; min-height: 1em; box-sizing: border-box !important; word-wrap: break-word !important;"><br/></p></section></section><p style="margin-top: 0px; margin-bottom: 0px; font-size: medium; padding: 0px; white-space: pre-wrap; font-family: &#39;Helvetica Neue&#39;, Helvetica, &#39;Hiragino Sans GB&#39;, &#39;Microsoft YaHei&#39;, Arial, sans-serif; line-height: 23.2727px;"><img src="http://223.corp.soe-soe.com/server/images/2017-01-18/131309_854.gif" /></p>
CONTENT;
        echo $content,'<hr />';
        $content=preg_replace('/<star id="companyPaltform">((?!<\/star>).)*<\/star>/s','',$content);
        $content=preg_replace('/<star id="author">((?!<\/star>).)*<\/star>/s','',$content);
        $content=preg_replace('/<star id="qrcode">((?!<\/star>).)*<\/star>/s','',$content);

        echo '<hr />';
        echo htmlspecialchars($content);
        echo '<hr />';
        echo $content;
    }


    public function sjytest_mask(){
        $n="施";
        pre_dump(UtilsModel::maskNickname($n));
        $n="a";
        pre_dump(UtilsModel::maskNickname($n));
        $n="施a";
        pre_dump(UtilsModel::maskNickname($n));
        $n="施施";
        pre_dump(UtilsModel::maskNickname($n));
        $n="aa";
        pre_dump(UtilsModel::maskNickname($n));
        $n="施坚永";
        pre_dump(UtilsModel::maskNickname($n));
        $n="施12345";
        pre_dump(UtilsModel::maskNickname($n));
    }

    public function sjytest_sendSms(){
        pre_dump(SmsModel::sendSms('15867276203','我手机上同意一下微信登陆'));
    }
    public function sjytest_ShopModel(){
        BusinessModel::syncStoreWithWeixin();
    }
    public function editor_tidyHtml() {

     $content='<img src="http://223.corp.soe-soe.com/server/upload/2016-07-13/142315_995.jpeg" _src="http://223.corp.soe-soe.com/server/upload/2016-07-13/142315_995.jpeg" style="white-space: pre-wrap;">';
    $content = preg_replace('/<br[^>]*>/', '<br/>', $content);
    echo preg_replace('/<img[^>]+\bsrc=(.http[s]?:\/\/[^ ]+)[^>]*>/', '<img src=$1/>', $content);
}

    //////////////////////////////////////////////////////////////////////////////////////////////
    //////////////////////////////////////////////////////////////////////////////////////////////
    public function weixin_get_accessToken(){
        pre_dump(WeixinModel::getAccessToken());
    }
    public function weixin_sendTemplateMsg(){
        $content='{
                                "touser":"o3y9js2XL31H0v0zmfB4AX9owCoM",
                                "template_id":"xNH16NV3bCWBfb6C2c08zvL2nzNNIOx3BmNf_WCPKeQ",
                                "url":"http://new.kannb.com/wap.php",
                                "topcolor":"#FF0000",
                                "data":{
                                        "first":{
                                            "value":"尊敬的，您的爱车已完成",
                                            "color":"#173177"
                                        },
                                        "keyword1":{
                                             "value":"keyword1",
                                             "color":"#173177"
                                        },
                                        "keyword2":{
                                             "value":"keyword2",
                                                "color":"#173177"
                                        },
                                        "keyword3":{
                                             "value":"keyword3",
                                                "color":"#173177"
                                        },
                                        "keyword4":{
                                             "value":"keyword4",
                                                "color":"#173177"
                                        },			            
                                        "remark":{
                                             "value":"\n\r点击详情可进行支付",
                                                "color":"#173177"
                                        }			            
                                    }
                                }';

        
        $openID='o3y9js2XL31H0v0zmfB4AX9owCoM';
        $url='http://new.kannb.com';
        $templateMsg=array(
            'touser'=>$openID,
            'template_id'=>'',
            'url'=>$url,
            "topcolor"=>"#FF0000",
            'data'=>array(
                "first"=>array(
                    "value"=>"尊敬的，您的爱车已完成",
                    "color"=>"#173177"
                ),
                "keyword1"=>array(
                    "value"=>"keyword1",
                    "color"=>"#173177"
                ),
                "keyword2"=>array(
                    "value"=>"keyword2",
                    "color"=>"#173177"
                ),
                "keyword3"=>array(
                    "value"=>"keyword3",
                    "color"=>"#173177"
                ),
                "remark"=>array(
                    "value"=>"remark",
                    "color"=>"#173177"
                ),

            )
        );
        $content=json_encode($templateMsg);
        pre_dump(WeixinModel::sendTemplateMsg($content));
    }

    public function weixin_getCardTicket(){
        pre_dump(WeixinModel::getCardApiTicket());
    }

    public function weixin_sendTextByOpenID(){
        pre_dump(WeixinModel::sendCustom_text('o3y9js2XL31H0v0zmfB4AX9owCoM',"hello\n you got a new card\n"));
    }
    public function weixin_sendCardByOpenID(){
       pre_dump(WeixinModel::sendCardByOpenID(array('o3y9js2XL31H0v0zmfB4AX9owCoM','o3y9js2XL31H0v0zmfB4AX9owCoM'),'p3y9jszmmLJ-67xE1IQNyLqL4NVs'));
    }

    public function weixin_sendCustom_card(){

        pre_dump(WeixinModel::sendCustom_card('o3y9js2XL31H0v0zmfB4AX9owCoM','p3y9js-5WdmbzVUjp3SG-LcOllcg','540010000502'));
    }
    public function weixin_get_all_poilist(){
        $result=(WeixinStoreModel::get_all_poilist());
        pre_dump($result);

    }
    public function weixin_depositWexinCard(){
        pre_dump(CouponModel::depositWexinCard(56));
    }
    public function weixin_getCode(){
        $weixinCardId='pHmGrs8ijC7EcTBGJgzKnaq7lcuQ';
        $code='220010000204';
        pre_dump(WeixinTicketModel::getCode($weixinCardId,$code));
    }



    public function weixin_setTestWhiteList(){
        pre_dump(WeixinTicketModel::setTestWhiteList("o3y9js2XL31H0v0zmfB4AX9owCoM"));
    }
    public function weixin_getCardInfo(){
        pre_dump(WeixinTicketModel::get_card_info("pjGVauAEiifRzcvRKrfjlS9SSsKo"));
    }
    public function weixin_getCardStock(){
        pre_dump(WeixinTicketModel::get_card_stock('pjGVauAEiifRzcvRKrfjlS9SSsKo'));
    }
    public function weixin_modifyStock(){
        pre_dump(WeixinTicketModel::modifyStock('pjGVauAEiifRzcvRKrfjlS9SSsKo',1000));
    }
    public function weixin_consume(){
        pre_dump(WeixinTicketModel::consume('pHmGrs48MougW8Smp7WUVQ_c_ObA','580010000300'));
    }


    public function weixin_sendredpack(){
        pre_dump(WeixinRedPackModel::sendPack('o9VjL1IeF2CLYVgy8GPX8iWJWZqI',100,'title','wishing'));
    }


    /**
     * 批量同步用户unionid
     */
    public function weixin_syncUser(){
        $openids=M('u_user_weixin',null,DB_MAIN_CFG)->where('ISNULL(WX_unionID)')->getField('WX1_openID',true);

        $result=WeixinModel::batchGetUser($openids);

        if($result['status']!=0){
            pre_dump($result);
            die;
        }

        foreach($result['data']['user_info_list'] as $one){
            M('u_user_weixin',null,DB_MAIN_CFG)->where("WX1_openID='{$one['openid']}'")->setField('WX_unionID',$one['unionid']);
        }

    }

    /////////////////////////////////////////////////////////////////////////////////////////////////
    /////////////////////////////////////////////////////////////////////////////////////////////////
    /////////////////////////////////////////////////////////////////////////////////////////////////


    public function cli_test(){
        $postData=array(
            'name'=>'shijy',
            'age'=>18,
            'address'=>'浙江宁波鄞州区邱隘'
        );
        ksort($postData);
        $paramStr=http_build_query($postData);
        $now=time();

        $sign=$this->mkSign($now.$paramStr);
        $paramStr .="&T={$now}&S={$sign}";
        $paramStr=urlencode($paramStr);
        exec("/usr/bin/php  ".WEB_ROOT."/cliApi.php Api/Jch/getData {$paramStr}",$output,$status);
        echo '<hr />';
        echo 'cliApi.php处理过后的返回值:<br />';
        echo (implode('<br />',$output));
        echo '<hr />';
        echo 'exec 执行状态，0表示成功：<br />';
        echo ($status);
    }
    public function cgi_test(){
        $postData=array(
            'name'=>'shijy',
            'age'=>'18',
            'address'=>'浙江宁波鄞州区邱隘'
        );
        pre_dump(UtilsModel::broadcast('wx_receive',$postData));
        die;
    }



    public function center(){
        $postData=array(
            array(
            'name'=>'shijy',
            'age'=>'18',
            'address'=>'浙江宁波鄞州区邱隘'
            ),
            array(
                'name'=>'wuwl',
                'age'=>'18',
                'address'=>'浙江金华'
            ),
        );
        pre_dump(UtilsModel::broadcast('Article_push',$postData,'starCenter'));
        die;
    }

    public function sjytest_simpleDir(){

       pre_dump( UtilsModel::broadcast('get_fs_info',array('id'=>''),'jch'));
    }

    public function sjytest_time(){
        $timeStamp=986623456;
        $weekName=UtilsModel::getWeekName($timeStamp);
        pre_dump($weekName);
        $timeStr=sprintf('Y-m-d %s H:i',$weekName);
        $timeStr=date($timeStr,$timeStamp);
        pre_dump($timeStr);
        echo sprintf($timeStr,$weekName);
    }
    public function sjytest_newUser(){
        M('u_user_base',null,DB_MAIN_CFG)->add(
            array('nickname'=>"施坚永")
        );

    }
    public function sjytest_mkdir(){


        $dir='/home/www/a/b/c/d/e/f/';
        pre_dump(UtilsModel::mkdir($dir));
    }
    public function sjytest_serialize(){
        $a=array(
            'name'=>"施坚永",
            'age'=>32,
            'desc'=>"asda唇裂 夺末夺枯干枯地末夺末夺一！@#￥%Sdfs￥……&"
        );

        $s=serialize($a);
        $b=urlencode($s);
        pre_dump($b);
        pre_dump(unserialize(urldecode($b)));
    }

    public function sjytest_login(){
        $ui=<<<INPUT
%7B%224s_name%22%3Anull%2C%224s_id%22%3Anull%2C%22user_id%22%3A%22253820%22%2C%22name%22%3A%22%22%2C%22birthday%22%3Anull%2C%22phone_num%22%3A%22%22%2C%22address%22%3A%22%22%2C%22sex%22%3A%220%22%2C%22driving_license%22%3A%22%22%2C%22integral%22%3A%220%22%2C%22grade%22%3A%220%22%2C%22create_time%22%3A%222016-08-10+10%3A33%3A36%22%2C%22admin_id%22%3A%220%22%2C%22open_id%22%3A%22ojGVauNXBlSLkf2XAjfj30yduddk%22%2C%22city_id%22%3A%220%22%2C%22rmb%22%3A%220%22%2C%22credit%22%3A%220%22%2C%22pay_locked%22%3A%220%22%2C%22all_recharge%22%3A%220.00%22%2C%22grade_get_time%22%3A%222016-08-10+14%3A05%3A59%22%2C%22last_recharge_time%22%3A%220000-00-00+00%3A00%3A00%22%2C%22nickname%22%3A%22%5Cu5fc5%5Cu6709%5Cu6211%5Cu65bd%22%2C%22binding_time%22%3A%220000-00-00+00%3A00%3A00%22%2C%22last_active_time%22%3A%222016-08-10+14%3A05%3A59%22%2C%22last_buy_time%22%3A%220000-00-00+00%3A00%3A00%22%2C%22buy_num%22%3A%220%22%2C%22total_buy_money%22%3A%220%22%2C%22total_recharge_money%22%3A%220%22%2C%22total_credit%22%3A%220%22%2C%22login_num%22%3A%228%22%2C%22order_num%22%3A%220%22%2C%22contact_phone%22%3A%22%22%2C%22merge_user_id%22%3Anull%2C%22focus_time%22%3Anull%2C%22unfocus_time%22%3Anull%2C%22last_order_start_time%22%3Anull%2C%22first_car_buy_time%22%3Anull%2C%22taici%22%3Anull%2C%22type%22%3A%220%22%2C%22admin_name%22%3Anull%2C%22admin_phone_num%22%3Anull%2C%22img%22%3A%22http%3A%5C%2F%5C%2Ftest.jiaochen.com.cn%5C%2FjiaochenhuiAPI%5C%2Fpublic%5C%2Fimg%5C%2Fuser%5C%2Fhead%5C%2F253820.jpg%22%7D
INPUT;

        $ret=json_decode(urldecode($ui),1);
        pre_dump($ret);
    }

    public function sjytest_xml(){
        $a="<xml><ToUserName><![CDATA[gh_390449df843a]]><\\/ToUserName>\\n<FromUserName><![CDATA[o3y9js2XL31H0v0zmfB4AX9owCoM]]><\\/FromUserName>\\n<CreateTime>1468907950<\\/CreateTime>\\n<MsgType><![CDATA[event]]><\\/MsgType>\\n<Event><![CDATA[user_get_card]]><\\/Event>\\n<CardId><![CDATA[p3y9js-5WdmbzVUjp3SG-LcOllcg]]><\\/CardId>\\n<IsGiveByFriend>0<\\/IsGiveByFriend>\\n<UserCardCode><![CDATA[340010000300]]><\\/UserCardCode>\\n<FriendUserName><![CDATA[]]><\\/FriendUserName>\\n<OuterId>1<\\/OuterId>\\n<OldUserCardCode><![CDATA[]]><\\/OldUserCardCode>\\n<IsRestoreMemberCard>0<\\/IsRestoreMemberCard>\\n<\\/xml>";
        $a=str_replace("\\n",'',$a);
        $a=str_replace("\\",'',$a);
        echo($a);
        $b=simplexml_load_string($a);
        pre_dump($b);
        echo($b->Event);
    }

    public function sjytest_ksort(){
        $a=array(
            'c'=>1,
            'b'=>array(
                'c'=>2,
                'b'=>3,
                'a'=>4,
                'e'=>5)

        );
        ksort($a['b']);
        ksort($a);
        pre_dump($a);
    }

    public function sjytest_sendd(){

        $re=array(
                'user_id'   =>'16',
                'id'        =>16
            );
        echo http_build_query($re);

        $url='http://223.corp.soe-soe.com/sjy_server/wxSite.php?m=test&c=index&a=sjytest_receive';
        $ch=curl_init($url);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
        curl_setopt($ch, CURLOPT_POST,1 );

        curl_setopt($ch, CURLOPT_POSTFIELDS,$re);
        $data=curl_exec($ch);
        $er=curl_error($ch);
        curl_close($ch);
        pre_dump($data);
    }

    public function sjytest_receive(){
        pre_dump($_POST);
        echo "<hr />";
        echo json_encode($_POST);
    }
    public function sjytest_color(){
        $color="#2c9f67";
        $colorArray=array("#63b359", "#2c9f67", "#509fc9", "#5885cf", "#9062c0",
            "#d09a45","#e4b138", "#ee903c", "#dd6549", "#cc463d");
        $pos=array_search($color,$colorArray)+1;
        $weixinColor='Color'.str_pad($pos,2,'0',STR_PAD_LEFT).'0';
        echo $weixinColor;
    }

    public function sjytest_jsonencode(){
        $a=array(
            'name'=>urlencode("施坚永"),
            'age'=>25,
            'level'=>'a'
        );
        $b=json_encode($a);
        echo $b;
        $b=urldecode($b);
        echo $b;
    }
    public function sjytest_split(){
       $a="12345abcdeASFEW";
        pre_dump($a);
       $b=str_split($a,4);
        pre_dump($b);





    }

    public function sjytest_countTest(){
        $a=1;
        $b="abc";
        $c='';
        $d=null;
        echo count($a),'<br />';
        echo count($b),'<br />';
        echo count($c),'<br />';
        echo count($d),'<br />';
    }

    public function sjytest_adduser(){
        $uid=118858;
        echo $uid;
        $re=M('u_user_base',null,DB_MAIN_CFG)->add(array('uid'=>$uid,'nickname'=>'aaa'));
        pre_dump($re);
    }
    ///////////////////////////////////////////////////////////////////////////
    public function jch_set_user(){
        $postData=array(
            'openid'=>'1111111111',//:微信ID,必须
            'nickname'=>'老必',//:xxx,昵称
            'name'=>'毕福剑',//真实姓名
            'address'=>'浙江省宁波市鄞州区邱隘镇万令',//地址
            'sex'=>1,// 性别
            //'birthday'=>'0000-00-00', 生日
            'last_active_time'=>date('Y-m-d H:i:s',time())
        );
        pre_dump(UtilsModel::broadcast('set_user',$postData));
    }

    ///////////////////////////////////////////////////////////////////////////
    public function jch_get_user(){
        $postData=array(
            'user_id'=>'283457',//:微信ID,必须
        );
        pre_dump(UtilsModel::broadcast('get_user',$postData));
    }

    public function jch_get_role(){
        $a = UtilsModel::broadcast('get_role');
        print_r($a);
    }
    public function jch_get_admin(){
        $a = UtilsModel::broadcast('get_admin');
        print_r($a);
    }


    public function jch_up_user(){
        $postData=array(
            'user_id'=>'13',
            'nickname'=>'老必22',//:xxx,昵称
            'name'=>'毕福剑22',//真实姓名
            'address'=>'浙江省宁波市鄞州区邱隘镇万令22',//地址
            'sex'=>'1',// 性别
            'birthday'=>'2011-09-03'// 生日
        );
        pre_dump(UtilsModel::broadcast('up_user',$postData));
    }



    public function jch_up_user_jifen(){
        $postData=array(
            'user_id'=>1,//用户编号 必须
            'credit'=>22,//积分修改数量 正整数
            'credit_flag'=>'1',//积分增减标志 1.表示增 ，2表示减
            'credit_c_reason'=>UtilsModel::getActionNameByActId(1).','//积分增减描述
        );
        pre_dump(UtilsModel::broadcast('up_user_jifen',$postData));

    }

    public function sjytest_deleteMysqlFile(){
        //pre_dump(system('chmod 777 /tmp/userSign'));
        pre_dump(unlink('/tmp/a.php'));

    }
    public function sjytest_cardlist(){

            $cardId = 52;
            $stock  = 156;
            $p = 2;

            //根据库生成一定数量的卡卷列表

            $return =CouponModel::createRandomCardList($cardId,$stock,$p);
pre_dump($return);
            $p += 1;
            $data = array(
                'status' => $return['status'],
                'p' => $p,
            );
            $this->ajaxReturn($data);

    }

    public function sjytest_headpic(){
        $blog=file_get_contents("http://img14.poco.cn/mypoco/myphoto/20130115/19/17339815820130115193658013.jpg");
        $url=UtilsModel::saveUserHeadPic($blog,10);
        echo $url;
        echo "<img src='{$url}'>";
    }
    public function sjytest_range(){
        $a=range(0,999);
        shuffle($a);
        pre_dump($a);
    }




    public function sjytest_t(){
        $a=<<<B
img%22%3A%22http%3A%5C%2F%5C%2Ftest.jiaochen.com.cn%5C%2FjiaochenhuiAPI%5C%2Fpublic%5C%2Fimg%5C%2Fuser%5C%2Fhead%5C%2F2.jpg%22%7D&sign=594188e14a7b3c989a94682fc556edde
B;
        echo urldecode($a);
    }



    public function jch_getToken(){
        pre_dump(UtilsModel::broadcast('get_token'));
    }








    private $basePath='/data/www/starjoy/server/data/outdata/';
    private $queryLog='/data/www/starjoy/server/data/outdata/querylog';
    private $starDB = 'star_core';
    private $jchDB  = 'jiaochenhui';
    private $oldHeadPath='/alidata/www/default/jiaochenhuiAPI/public/img/user/head/';

    private $newContentImgPath="http://club.jiaochen.com.cn/jiaochenhuiAPI/admin/view/js/ue/php/upload/image/";
    private $limit=100;

    const FIELD_SEPARATOR   ="@@@";
    const LINE_SEPARATOR    ="###";
    const ENCLOSED_SEPARATOR    ="~";

    //会员活动
    public function sjytest_loaddata(){

        $begin = microtime(true);
        $m=M('e_events',null,DB_MAIN_CFG);
        $dataOuterFile=$this->basePath."events";
        system("rm {$dataOuterFile} -f");
        $rawUser=$m->field("`hot`,`id`,`point`,`price`,`originalPrice`,`title`,`content`,`places`,`applyCount`,`location`,`showListTime`,
	`startTime`,`endTime`,`beginShowTime`,`applyStartTime`,`applyEndTime`,`addTime`,`imgList`,`clientShow`")
            ->limit($this->limit)
            ->select();
        $i=0;
        foreach ($rawUser as $one){

            $str=implode(self::FIELD_SEPARATOR,$one).self::LINE_SEPARATOR;
            file_put_contents($dataOuterFile,$str,FILE_APPEND);
            $i++;

        }



        $sql=<<<SQL
LOAD DATA LOCAL INFILE '%s' REPLACE INTO TABLE %s.test FIELDS TERMINATED BY '%s' ENCLOSED BY '%s' LINES TERMINATED BY '%s' (
	`hot`,`id`,`point`,`price`,`originalPrice`,`title`,`content`,`places`,`applyCount`,`location`,`showListTime`,
	`startTime`,`endTime`,`beginShowTime`,`applyStartTime`,`applyEndTime`,`addTime`,`imgList`,`clientShow`);
SQL;
        $sql=sprintf($sql,$dataOuterFile,$this->starDB,self::FIELD_SEPARATOR,self::ENCLOSED_SEPARATOR,self::LINE_SEPARATOR);

        $host=C('DB_HOST');
        $dbName=C('DB_NAME');
        $dbUser=C("DB_USER");
        $dbPwd=C("DB_PWD");

        exec("mysql -u {$dbUser} -p{$dbPwd} -h{$host} -e \"USE {$dbName};{$sql} \"");
        pre_dump($m->execute($sql));
echo $sql;
    }

    public function loadDate(){
        UserModel::signRanking("283558");
    }
    public function editDayDataStatistic()
    {
        EditorModel::editMonthDataStatistic();
    }

    public function statistic()
    {
        EditorModel::editorFriendsStatistic();
    }


    public function kannbCount(){
        $now       = time();
        $usignLogM  = M('u_sign_log',null,DB_MAIN_CFG);
        $luckyM     = M('u_lucky_log',null,DB_MAIN_CFG);


        //////////////////////////时间//////////////////////////
        //昨日
        list($yesterdayBegin,$yesterdayEnd)=(  UtilsModel::getYesterDay());
        $yesterday=date('Y-m-d',$yesterdayBegin);
        //前日
        $dayBefore_2_begin=$yesterdayBegin-UtilsModel::ONE_DAY;
        $dayBefore_2_end=$yesterdayEnd-UtilsModel::ONE_DAY;
        $dayBefore=date('Y-m-d',$dayBefore_2_begin);


        //上月
        list($lastMonthBegin,$lastMonthEnd)= UtilsModel::getLastMonth();
        $lastMonth=date('Y-m',$lastMonthBegin);
        //本月
        $thisMonth=date('Y-m',$now);
        //前月
        list($monthBefore_2_Begin,$monthBefore_2_End)= UtilsModel::getLastMonth(-2);
        $monthBefore_2=date('Y-m',$monthBefore_2_Begin);



        //////////////////////////签到//////////////////////////
        $yesterdaySignCount=$usignLogM->where("addTime between {$yesterdayBegin} and {$yesterdayEnd}")->count();

        echo "昨日({$yesterday})签到人数：{$yesterdaySignCount}<br />";

        $dayBeforeSignCount=$usignLogM->where("addTime between {$dayBefore_2_begin} and {$dayBefore_2_end}")->count();
        echo "前日({$dayBefore})签到人数：{$dayBeforeSignCount}<br />";

        $dayBefore_7_begin=$yesterdayBegin-UtilsModel::ONE_DAY * 6;
        $dayBefore_7=date('Y-m-d',$dayBefore_7_begin);
        $dayBefore_7_SignCount=$usignLogM->where("addTime between {$dayBefore_7_begin} and {$yesterdayEnd}")->count();
        $dayBefore_7_SignCountAvg=$dayBefore_7_SignCount/7;
        echo "近七7日({$dayBefore_7}至{$yesterday})平均签到人次：{$dayBefore_7_SignCountAvg}<br />";

        $thisMonthSignCount=$usignLogM->where("addTime > {$lastMonthEnd}")->count("distinct uid");
        echo "本月({$thisMonth})签到人数：{$thisMonthSignCount}<br />";

        //上月签到人数
        $lastMonthSignCount=$usignLogM->where("addTime between {$lastMonthBegin} and {$lastMonthEnd}")->count("distinct uid");
        $monthBefore_2_SignCount=$usignLogM->where("addTime between {$monthBefore_2_Begin} and {$monthBefore_2_End}")->count("distinct uid");


        $diffSignCount=abs($lastMonthSignCount-$monthBefore_2_SignCount);
        echo "上月({$lastMonth})签到人数：{$lastMonthSignCount},";
        if($lastMonthSignCount > $monthBefore_2_SignCount){
            echo '相比前月增加',$diffSignCount;
        }elseif($lastMonthSignCount < $monthBefore_2_SignCount){
            echo '相比前月减少',$diffSignCount;
        }else{
            echo '与前月持平';
        }
        echo '<br />';

        echo "前月({$monthBefore_2})签到人数：{$monthBefore_2_SignCount}<br />";



        echo '<hr />';
        //昨日抽奖次数
        $yesterdayLuckyCount=$luckyM->where("addTime between {$yesterdayBegin} and {$yesterdayEnd}")->count();
        //本月抽奖次数
        $thisMonthLuckyCount=$luckyM->where("addTime > {$lastMonthEnd}")->count();
        //前月抽奖次数
        $monthBefore_2_LuckyCount=$luckyM->where("addTime between {$monthBefore_2_Begin} and {$monthBefore_2_End}")->count();
        //上月抽奖次数
        $lastMonthLuckyCount=$luckyM->where("addTime between {$lastMonthBegin} and {$lastMonthEnd}")->count();


        echo "昨日抽奖：{$yesterdayLuckyCount}<br />";
        echo "本月抽奖：{$thisMonthLuckyCount}<br />";
        echo "上月抽奖：{$lastMonthLuckyCount}<br />";
        echo "前月抽奖：{$monthBefore_2_LuckyCount}<br />";

        echo "<hr />";


////////////////文章统计///////////////////////
        $objType=OBJ_TYPE_ARTICLE;
        $articleM=M('article',NULL,DB_MAIN_CFG);
        $commentArticleM=M('comment_'.$objType,null,DB_MAIN_CFG);
        $praiseM=M('praise_log',null,DB_MAIN_CFG);
        //文章总浏览量
        $totalViewNum=$articleM->sum('viewNum');
        //昨日内容数
        $yesterdayArticleNum=$articleM->where("addTime between {$yesterdayBegin} and  {$yesterdayEnd} and audit=2")->count();
        //昨日评论数
        $yesterdayArticleCommentCount=$commentArticleM->where("addTime between {$yesterdayBegin} and  {$yesterdayEnd} and isDisabled=0")->count();
        //昨日点赞
        $yesterdayPraiseCount=$praiseM->where("objType={$objType} and addTime between {$yesterdayBegin} and {$yesterdayEnd} ")->count();
        echo "昨日:内容篇数{$yesterdayArticleNum};评论数{$yesterdayArticleCommentCount};点赞数{$yesterdayPraiseCount}<br />";


        //本月内容数
        $yesterdayArticleNum=$articleM->where("addTime > {$lastMonthEnd}  and audit=2")->count();
        //本月评论数
        $yesterdayArticleCommentCount=$commentArticleM->where("addTime > {$lastMonthEnd} and isDisabled=0")->count();
        $praiseM=M('praise_log',null,DB_MAIN_CFG);
        //本月点赞
        $yesterdayPraiseCount=$praiseM->where("objType={$objType} and addTime > {$lastMonthEnd}  ")->count();
        echo "本月:内容篇数{$yesterdayArticleNum};评论数{$yesterdayArticleCommentCount};点赞数{$yesterdayPraiseCount}<br />";


        //上月内容数
        $yesterdayArticleNum=$articleM->where("addTime between {$lastMonthBegin} and  {$lastMonthEnd} and audit=2")->count();
        //上月评论数
        $yesterdayArticleCommentCount=$commentArticleM->where("addTime between {$lastMonthBegin} and  {$lastMonthEnd} and isDisabled=0")->count();
        $praiseM=M('praise_log',null,DB_MAIN_CFG);
        //上月点赞
        $yesterdayPraiseCount=$praiseM->where("objType={$objType} and addTime between {$lastMonthBegin} and {$lastMonthEnd} ")->count();
        echo "上月:内容篇数{$yesterdayArticleNum};评论数{$yesterdayArticleCommentCount};点赞数{$yesterdayPraiseCount}<br />";


        echo '<hr />';
        ////////////////活动统计///////////////////////
        $objType=OBJ_TYPE_ARTICLE;
        $articleM=M('e_events',NULL,DB_MAIN_CFG);
        $joinM=M('e_events_join',NULL,DB_MAIN_CFG);


        //昨日活动数
        $yesterdayArticleNum=$articleM->where("beginShowTime between {$yesterdayBegin} and  {$yesterdayEnd} and del=0")->count();
        //昨日报名
        $yesterdayJoinCount=$joinM->where("addTime between {$yesterdayBegin} and {$yesterdayEnd} ")->count();
        echo "昨日:上线活动数{$yesterdayArticleNum};报名数{$yesterdayJoinCount}<br />";


        //本月内容数
        $yesterdayArticleNum=$articleM->where("beginShowTime > {$lastMonthEnd}  and del=0")->count();
        //本月报名
        $yesterdayPraiseCount=$joinM->where(" addTime > {$lastMonthEnd}  ")->count();
        echo "本月:上线活动数{$yesterdayArticleNum};报名数{$yesterdayPraiseCount}<br />";


        //上月内容数
        $yesterdayArticleNum=$articleM->where("beginShowTime between {$lastMonthBegin} and  {$lastMonthEnd} and del=0")->count();
        //上月报名
        $yesterdayPraiseCount=$joinM->where(" addTime between {$lastMonthBegin} and {$lastMonthEnd} ")->count();
        echo "上月:活动数{$yesterdayArticleNum};报名数{$yesterdayPraiseCount}<br />";




        echo '<hr />';
        ////////////////积分兑换统计///////////////////////
        $objType=OBJ_TYPE_POINTMALL;
        $articleM=M('point_mall',NULL,DB_MAIN_CFG);
        $joinM=M('exchange_log',NULL,DB_MAIN_CFG);
        $wherePart='and status='.PointMallModel::EXCHANGE_STATUS_SUCCESS;

        //昨日活动数
        $yesterdayArticleNum=$articleM->where("beginShowTimestamp between {$yesterdayBegin} and  {$yesterdayEnd} and status=1")->count();
        //昨日报名
        $yesterdayJoinCount=$joinM->where("exchangeTime between {$yesterdayBegin} and {$yesterdayEnd} {$wherePart}")->count();
        echo "昨日:上线积分兑换数{$yesterdayArticleNum};成交数{$yesterdayJoinCount}<br />";


        //本月内容数
        $yesterdayArticleNum=$articleM->where("beginShowTimestamp > {$lastMonthEnd}  and status=1")->count();


        //本月报名
        $yesterdayPraiseCount=$joinM->where(" exchangeTime > {$lastMonthEnd}  {$wherePart}")->count();
        echo "本月:上线积分兑换数{$yesterdayArticleNum};成交数{$yesterdayPraiseCount}<br />";


        //上月内容数
        $yesterdayArticleNum=$articleM->where("beginShowTimestamp between {$lastMonthBegin} and  {$lastMonthEnd} and status=1")->count();

        //上月报名
        $yesterdayPraiseCount=$joinM->where(" exchangeTime between {$lastMonthBegin} and {$lastMonthEnd} {$wherePart}")->count();
        echo "上月:上线积分兑换数{$yesterdayArticleNum};成交数{$yesterdayPraiseCount}<br />";

        echo '<hr />';
        //昨日新注册用户
        $userM = M('u_user_base',null,DB_MAIN_CFG);
        $yesterdayNewUser = $userM->where("regTime between {$yesterdayBegin} and  {$yesterdayEnd}")->count();
        //昨日新绑定用户
        $bindM = M('statistic_bind_phone',null,DB_MAIN_CFG);
        $yesterdayNewBind = $bindM->where("addTime between {$yesterdayBegin} and  {$yesterdayEnd}")->getField('bindNumber');
        if(!$yesterdayNewBind || $yesterdayNewBind < 0){$yesterdayNewBind = 0;}
        echo "昨日（{$yesterday}）新注册用户：{$yesterdayNewUser}<br/>";
        echo "昨日（{$yesterday}）新绑定用户：{$yesterdayNewBind}";
        echo "<hr />";
        //总注册用户
        $totalUserCount = $userM->count();
        //总绑定用户
        $totalBindCount = $userM->where('bindPhone > 0')->count();
        echo "总注册用户：{$totalUserCount}<br />";
        echo "总绑定用户数：{$totalBindCount}";



    }


    public function distribute(){
        AnalysisModel::analysisDistribute();
    }

    public function age(){
        AnalysisModel::analysisAge();
    }

    public function dayReportForm(){
        AnalysisModel::dayReportForm();
    }

    public function weekReportForm(){
        AnalysisModel::weekReportForm();
    }

    public function monReportForm(){
        AnalysisModel::monthReportForm();
    }

    public function dailyActive(){
        AnalysisModel::dailyActive();
    }
    public function monthlyActive(){
        AnalysisModel::monthlyActive();
    }
    public function eventType(){
        AnalysisModel::eventTypeAnalysis();
    }
    public function articleType(){
        AnalysisModel::articleTypeAnalysis();
    }
    public function goodsType(){
        AnalysisModel::GoodsTypeAnalysis();
    }
    public function point(){
        AnalysisModel::pointAnalysis();
    }
    public function userType(){
        AnalysisModel::userType();
    }
    public function onlineTime(){
        AnalysisModel::onlineTime();
    }
    public function lostUserAnalysis(){
        AnalysisModel::lostUserAnalysis();
    }
    public function lostUserFromAnalysis(){
        AnalysisModel::lostUserFromAnalysis();
    }
    public function remain(){
        AnalysisModel::remainAnalysis();
    }
    public function cardMonConsume(){
        BusinessModel::monStatistic();
    }

    public function getSet(){
        //set_time_limit(60);
        ini_set('max_execution_time',61);
        $a=ini_get_all();
        pre_dump($a);

    }
    public function pushDaemon(){
        ignore_user_abort(true);
        set_time_limit(20);
        $id=$_GET['id'];
        $runlog="c_{$id}.txt";
        $close_flag="cflag_{$id}.txt";
        while (1) {
            echo ' ';
            ob_flush();
            flush();
            $writestr="{$id}------".date('Y-m-d H:i:s',time())."\r\n";
            $s=connection_status();
            switch($s){
                case CONNECTION_ABORTED:
                    $writestr.='连接中断';
                    break;
                case CONNECTION_NORMAL:
                    $writestr.='连接中';
                    break;
                case CONNECTION_TIMEOUT:
                    $writestr.='超时';
                    break;
            }
            $writestr.="\r\n";
            file_put_contents($runlog,$writestr,FILE_APPEND);
            if(file_exists($close_flag)){
                file_put_contents($runlog,$id." is closed\n",FILE_APPEND);
                die;
            }
//其他逻辑操作
            sleep(1);
        }
    }
    //积分抽奖 已结束活动是否抽奖
    public function doLottery(){
        PointLotteryModel::doLottery();
    }
}